﻿@model IEnumerable<RedSand.Site.Models.NewsInfo>
@if (Model != null)
{
    <div class="list-hot-news">
        <h2 class="title-head">
            @ViewBag.Title</h2>
        <ul class="clearfix">
            @foreach (var items in Model)
            {
                <li><a href="/@RedSand.Web.Language.RsLanguage.LanguageCode/news/details/@items.NewsID/@items.Title.ToUrlString()">
                    <img alt="@items.Title" title="@items.Title" class="avt fl" src="@items.Image.GetImageUrl()" />
                    <h3 class="title">
                        @items.Title</h3>
                </a></li>
            }
        </ul>
    </div>
}